package com.chinaisafe.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.chinaisafe.user.vo.request.SysTenantAppReqVO;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.chinaisafe.user.vo.response.SysTenantAppRespVO;
import com.chinaisafe.user.entity.SysTenantApp;

/**
 * SysTenantAppMapper
 * Description：租户和应用Mapper接口
 *
 * @author tby
 * @date 2024-07-12 10:04:27
 */
@Mapper
public interface SysTenantAppMapper extends BaseMapper<SysTenantApp> {
    /**
     * 根据条件获取租户和应用分页列表
     * @param page 分页对象
     * @param queryWrapper 筛选参数
     * @return IPage<SysTenantAppRespVO> 查询结果
     * @author tby
     * @date 2024-07-12 10:04:27
     */
    IPage<SysTenantAppRespVO> getPageList(Page<SysTenantApp> page, @Param("param") SysTenantAppReqVO queryWrapper);
}
